package main

import "fmt"

// 打印100以内的斐波那契数列

func main() {
	fib := make([]int, 200)
	fib[0] = 0
	fib[1] = 1
	a := 0
	b := 1
	for i := 2; i <= 99; i++ {
		a, b = b, a+b
		fib[i] = b
	}
	for i := 0; i < 100; i++ {
		fmt.Printf("fib[%d] = %d\n", i, fib[i])
	}
}
